﻿<?php
//Silver Sepp student9 27.10.2011


include "string_info.php";

$i = $_POST["oma_tekst"];
$j = $_POST["loetav_taht"];

?>
<html>
<head>
<title>YL0305</title>
</head>
<body bgcolor=powderblue text=blue ></body>
<form method="post" action="<?php echo $PHP_SELF;?>">
<hr>
<textarea rows="5" cols="130" name="oma_tekst" wrap="soft"></textarea><br />
Vaikimisi on ositav täht a. Vaheta omale sobiv <input type="text" name="loetav_taht" value=<?php echo $_POST['loetav_taht']?>> <br />
<input type=submit name=nupp value="GO">
<hr>
</html>
<?php
string_info ($i,$j);
?>